package com.billing.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.billing.model.dao.SalaryCalculationBeanMapper;
import com.billing.model.entity.TSalaryCalculationRules;
import com.billing.service.SalaryCalculationService;

@Service
public class SalaryCalculationServiceImpl implements SalaryCalculationService {

	@Resource
	SalaryCalculationBeanMapper salaryCalculationBeanMapper;
	

	public int updateSalaryCalculation(TSalaryCalculationRules scrbean) {
		return salaryCalculationBeanMapper.updateSalaryCalculation(scrbean);
	}

	public List<TSalaryCalculationRules> getSalaryCalculationList(int type) {
		return salaryCalculationBeanMapper.getSalaryCalculationList(type);
	}

}
